﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using DoubanApiLib.Attributes;
using DoubanApiLib.EntityBase;



namespace DoubanApiLib.Entity
{
    [ClassAttribute("entry"),Serializable]
    public partial class Account : Entity<Account>
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [PropertyAttribute("entry", "uid")]
        public string uid
        {
            get;
            set;
        }
        /// <summary>
        /// 名号
        /// </summary>
        [PropertyAttribute("entry", "title")]
        public string uname
        {
            get;
            set;
        }

        /// <summary>
        /// 自我介绍
        /// </summary>
        [PropertyAttribute("entry", "content")]
        public string Content
        {
            get;
            set;
        }

        /// <summary>
        /// blog地址
        /// </summary>
        [PropertyAttribute("link", "href", "rel", "homepage")]
        public string Blog
        {
            get;
            set;
        }

        /// <summary>
        /// 居住地
        /// </summary>
        [PropertyAttribute("location", "location_Text")]
        public string Address
        {
            get;
            set;
        }

        /// <summary>
        /// 用户签名档
        /// </summary>
        [PropertyAttribute("entry", "signature")]
        public string Signature
        {
            get;
            set;
        }

        /// <summary>
        /// 头像地址
        /// </summary>
        [PropertyAttribute("link", "href", "rel", "icon")]
        public string HeadAddress
        {
            get;
            set;
        }
    }
}
